/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Behavioral.ChainOfResponsibily;

/**
 *
 * @author alumno
 */
public class LiderTeamEjecutivo implements IAprobador{
    private IAprobador next;
    
    public IAprobador getNext()
    {
        return next;
    }
    
    public void solicitudPrestamo(int monto)
    {
        if (monto > 10000 && monto <= 50000)
            System.out.println("Lo manejo yo");
        else
            next.solicitudPrestamo(monto);
        
    }


    public void setNext(IAprobador a) {
      ;
    }
    
    
}
